package {{ base_pkg }}.application.{{ entity.domain }}.converter;

import {{ base_pkg }}.application.{{ entity.domain }}.dto.{{ entity.name }}DTO;
import {{ base_pkg }}.domain.{{ entity.domain }}.model.aggragate.{{ entity.name }};

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface {{ entity.name }}DTOConverter {
    {{ entity.name }}DTOConverter INSTANCE = Mappers.getMapper({{ entity.name }}DTOConverter.class);

    {{ entity.name }}DTO fromEntity({{ entity.name }} entity);
    {{ entity.name }} toEntity({{ entity.name }}DTO dto);
} 